package com.thanks.thinkchina.modules.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @ClassName : ExchangeRateHistory
 * @Description : 汇率历史表
 * @Author : yf.zhu
 * @Date: 2022-04-17 11:03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class ExchangeRateHistory {

    /** id */
    @ApiModelProperty(value="主键id")
    private Long id;

    /** 汇率名缩写 */
    @ApiModelProperty(value="汇率名缩写")
    private String abridgeName;

    /** 汇率 */
    @ApiModelProperty(value="汇率")
    private BigDecimal rate;

    @ApiModelProperty(value="汇率获取时间")
    private Long timestamp;

    @ApiModelProperty(value="创建时间")
    private LocalDateTime createDate;
}
